<%-- 
    Document   : search
    Created on : Oct 27, 2010, 11:32:08 AM
    Author     : M Bilal
--%>
<%@include file="includes/header.jspf"%>
<%
    thisPage="Search";
    tags=(request.getParameter("txtsrh")!=null && !request.getParameter("txtsrh").isEmpty())?request.getParameter("txtsrh").toString():"";
    boolean emptyCheck = request.getParameter("txtsrh").isEmpty();
%>

<div style="background-color: #dedfe1;padding-top:10px;background-image:url('../images/new/top_bar.jpg');background-repeat: repeat-x;background-position:0% 350%;" title="" align="center" >
            <a href="<%=context_Path%>/index.jsp"><img src='<%=context_Path%>/imgsrv?img=home<%=sImgFix%>.jpg&repo=PI&s=0&w=<%=mainButtonImgWidth%>' alt="home"></a>
            <a href="<%=context_Path%>/content/index.jsp"><img src='<%=context_Path%>/imgsrv?img=downloads<%=sImgFix%>.jpg&repo=PI&s=0&w=<%=mainButtonImgWidth%>' alt="downloads"></a>
            <a href="<%=context_Path%>/coolstuff/index.jsp"><img src='<%=context_Path%>/imgsrv?img=cool_stuff<%=sImgFix%>.jpg&repo=PI&s=0&w=<%=mainButtonImgWidth%>' alt="coolstuff"></a>
            <img src='<%=context_Path%>/imgsrv?img=news_selected<%=sImgFix%>.jpg&repo=PI&s=0&w=<%=mainButtonImgWidth%>' alt="news">
</div>
<div style="padding: 5px 0px 0px 3px;">

<%
	if(emptyCheck)
	{
		%>
			<jsp:include page="search_news.jsp">
        	<jsp:param name="txtsrh" value="<%=tags%>"/>
    		</jsp:include>
		<%
	}
	else
	{
	%>
		<jsp:include page="search_news.jsp">
        <jsp:param name="txtsrh" value="<%=tags%>"/>
    	</jsp:include>
   		<!--  <jsp:include page="search_fun.jsp">
        <jsp:param name="txtsrh" value="<%=tags%>"/> 
    	</jsp:include> -->
   		 <jsp:include page="search_services.jsp">
        <jsp:param name="txtsrh" value="<%=tags%>"/>
    	</jsp:include>
    	<% 
	}
%>
    
</div>

<%@include file="includes/footer.jspf" %>
<%
wpb.LogVisit(strIP, thisPage, strGsm,strApn,strBrand,strModel,"SearchText="+tags,request.getQueryString());
%>